package fidel.permission.mapper;

import java.util.List;

import fidel.permission.po.SysPermission;

public interface SysPermissionMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SysPermission record);

    int insertSelective(SysPermission record);

    SysPermission selectByPrimaryKey(Long id);

    List<SysPermission> selectMenusByUserid(String userid);

    List<SysPermission> selectButtonsByUserid(String userid);

    int updateByPrimaryKeySelective(SysPermission record);

    int updateByPrimaryKey(SysPermission record);
}